{% extends "admin/admin_info.html" %}

{% block title %}
    <title>收藏统计</title>
{% endblock %}

{% block profile_block %}
    {{ super() }}
{% endblock %}
{% block collections %}
    <div class="cs-profile-area">
                                                                <div class="cs-title no-border">
                                                                    <h4>
                                                                        收藏统计
                                                                    </h4>
                                                                </div>
                                                                <div class="cs-profile-holder">
                                                                    <div class="cs-table-holder">
                                                                        <table>
                                                                            <thead>
                                                                                <tr>
                                                                                    <th>
                                                                                        #
                                                                                    </th>
                                                                                    <th>
                                                                                        任务标题
                                                                                    </th>
                                                                                    <th>
                                                                                        任务 ID
                                                                                    </th>
                                                                                    <th>
                                                                                        收藏数量
                                                                                    </th>
                                                                                </tr>
                                                                            </thead>
                                                                            {% for i in collectiion %}
                                                                                <tbody>
                                                                                    <tr>
                                                                                        <td>
                                                                                            {{ loop.index }}
                                                                                        </td>
                                                                                        <td>
{#                                                                                            {{ i.function_title }}#}
                                                                                            <a href="/admin/collections/{{ i.function_id }}">{{ i.function_title }}</a>
                                                                                        </td>
                                                                                        <td>
                                                                                            {{ i.function_id }}
                                                                                        </td>
                                                                                        <td>
                                                                                            {{ i.collections }}
                                                                                        </td>
                                                                                    </tr>
                                                                                </tbody>
                                                                            {% endfor %}
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                            </div>
{% endblock %}